package com.yc.chatroom.client;

/**
 * 消息体
 * @author yuancan
 *
 */
public class Msg {

	private String userName;
	private String message;
	private Long time;
	private boolean isMe;
	
	
	public Msg(String userName, String message, Long time, boolean isMe) {
		super();
		this.userName = userName;
		this.message = message;
		this.time = time;
		this.isMe = isMe;
	}

	
	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}


	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Long getTime() {
		return time;
	}

	public void setTime(Long time) {
		this.time = time;
	}

	public boolean isMe() {
		return isMe;
	}

	public void setMe(boolean isMe) {
		this.isMe = isMe;
	}
	
	
}
